package com.patttern.structural.decorator;

/**
 * @Author: root
 * @Date: 2018/12/3 1:01
 */
public class Client {
    public static void main(String[] args) {
        FlyCar car = new FlyCar(new Car());
        WaterCar car1 = new WaterCar(car);
        car1.move();
    }
}
